﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TeamOPSchoolCup.Domain.POCO.Members;

namespace TeamOPSchoolCup.Domain.POCO
{
  public class NSSF
  {
    //Attributes of the Table
    public int NSSFId { get; set; }
    public string Name { get; set; }
    public string Street { get; set; }
    public string Zipcode { get; set; }
    public string City { get; set; }
    public string PhoneNumber { get; set; }
    public string FaxNumber { get; set; }
    public string Email { get; set; }
    public DateTime DateAdded { get; set; }

    //Foreign Keys
    public int RegionId { get; set; }
    

    //Relations to other tables
    public virtual Region Region { get; set; }
    public virtual List<Event> Events { get; set; }
    //public virtual List<School> Schools
    public virtual List<NSSFRep> NSSFReps { get; set; }
    //public virtual List<RegionMeeting> RegionalMeetings { get; set; }

    public NSSF()
    {
      NSSFReps = new List<NSSFRep>();
    }

  }
}
